package com.ruoyi.houses.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 房产类型表
 * @TableName property_type
 */
@TableName(value ="property_type")
@Data
public class PropertyType implements Serializable {
    /**
     * 房产类型ID
     */
    @TableId(type = IdType.AUTO)
    private Integer typeId;

    /**
     * 房产类型名称，如新房、二手房、商铺、写字楼
     */
    private String typeName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}